ScxV6Objects.Item Method
Returns an ScxV6Object object from the collection.
Parameters
- Index
The 1-based index of the object to get from the collection.
Remarks
The Item method is used to get an object from the collection. This method is the default method of the interface, and can be omitted if needed.
The following example written in Visual Basic lists all the objects contained in the root group, along with their position in the collection.
Dim Svr As ScxV6DbClient.ScxV6Server
Svr = New ScxV6DbClient.ScxV6Server
Svr.Connect("MAIN", "", "")
' Get the objects in the root group
Dim Objects As ScxV6DbClient.ScxV6Objects
Objects = Svr.RootObject.List("CDBObject")
Dim I As Integer
For I = 1 To Objects.Count
System.Console.WriteLine("{0} : {1}", I, Objects(I).FullName)
Next